package com.huang.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huang.auth.entity.po.AuthResourcePO;
import com.huang.auth.entity.request.AuthResourceEditRequest;
import com.huang.auth.entity.vo.AuthResourceSimpleVO;

import java.util.List;

/**
 * 资源(AuthResource)表服务接口
 *
 * @author HuangShen
 * @since 2021-09-21 17:14:01
 */
public interface AuthResourceService extends IService<AuthResourcePO> {


    /**
     * 修改权限资源
     * @param authResourceEditRequest authResourceEditRequest
     * @return Boolean
     */
     Boolean resourceEdit(AuthResourceEditRequest authResourceEditRequest);

    /**
     * 删除权限资源
     * @return boolean
     */
     Boolean resourceDel(Long resourceId);


    /**
     * 获取未绑定菜单的资源
     * @return List<AuthResourceSimpleVO>
     */
    List<AuthResourceSimpleVO> menuResourceSimpleList(String menuId);
}

